<template>
  <div id="blog-edit" :style="'background: url(' + bgImg + ') fixed no-repeat center'">
    <edit-form class="edit-form"/>
  </div>
</template>

<script>
import EditForm from "@/components/blog/blogEdit/EditForm";

import {auth} from "@/network/userRequest";

import bgImg from "@/assets/background/明日方舟-圣诞节.jpg";

export default {
  name: "BLogEdit",
  components: {
    EditForm
  },
  data() {
    return {
      bgImg
    }
  },
  created() {
    auth();
  }
}
</script>

<style scoped>
  #blog-edit {
    overflow: auto;
    height: 100%;
  }

  #blog-edit .edit-form {
    /*position: absolute;*/
    width: 50%;
    margin-left: 30%;
    margin-bottom: 90px;
  }
</style>